<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>Class ManaPHP\Mvc\Model\QueryBuilder</title>

	<link rel="stylesheet" href="resources/style.css?c2f33731c1948fbed7c333554678bfa68d4817da">

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
				<h3>Namespaces</h3>
			<ul>
				<li class="active">
					<a href="namespace-ManaPHP.html">
						ManaPHP<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Alias.html">
						Alias					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Authentication.html">
						Authentication<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Authentication.Token.html">
						Token<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Authentication.Token.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Authentication.Token.Adapter.Mwt.html">
						Mwt					</a>

						</li>
							</ul></li></ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Authorization.html">
						Authorization<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Authorization.Rbac.html">
						Rbac<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Authorization.Rbac.Models.html">
						Models					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Authorization.Rbac.PermissionBuilder.html">
						PermissionBuilder					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Cache.html">
						Cache<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Cache.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Cache.Adapter.Apc.html">
						Apc					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Cache.Adapter.Db.html">
						Db					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Cache.Adapter.File.html">
						File					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Cli.html">
						Cli<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Cli.Application.html">
						Application					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Cli.Arguments.html">
						Arguments					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Cli.Controllers.html">
						Controllers					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-ManaPHP.Component.html">
						Component					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Configure.html">
						Configure<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Configure.Engine.html">
						Engine<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Configure.Engine.Ini.html">
						Ini					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Configure.Engine.Json.html">
						Json					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Counter.html">
						Counter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Counter.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Counter.Adapter.Db.html">
						Db					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Db.html">
						Db<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Db.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Db.Adapter.Sqlite.html">
						Sqlite					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Debugger.html">
						Debugger					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Di.html">
						Di					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Event.html">
						Event<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Event.Manager.html">
						Manager					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-ManaPHP.Facade.html">
						Facade					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Filesystem.html">
						Filesystem<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Filesystem.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Filesystem.Adapter.File.html">
						File					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Http.html">
						Http<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Http.Client.html">
						Client					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Http.Cookies.html">
						Cookies					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Http.Filter.html">
						Filter					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Http.Request.html">
						Request<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Http.Request.File.html">
						File					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-ManaPHP.Http.Response.html">
						Response					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Http.Session.html">
						Session<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Http.Session.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Http.Session.Adapter.Db.html">
						Db					</a>

						</li>
							</ul></li></ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.I18n.html">
						I18n					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Image.html">
						Image<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Image.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Image.Adapter.Gd.html">
						Gd					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Image.Adapter.Imagick.html">
						Imagick					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Loader.html">
						Loader					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Logger.html">
						Logger<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Logger.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Logger.Adapter.Db.html">
						Db					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Message.html">
						Message<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Message.Queue.html">
						Queue<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Message.Queue.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Message.Queue.Adapter.Db.html">
						Db					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Message.Queue.Adapter.Redis.html">
						Redis					</a>

						</li>
							</ul></li></ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Meter.html">
						Meter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Meter.Linear.html">
						Linear					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Meter.Round.html">
						Round					</a>

						</li>
							</ul></li>
				<li class="active">
					<a href="namespace-ManaPHP.Mvc.html">
						Mvc<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.Application.html">
						Application					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Dispatcher.html">
						Dispatcher					</a>

						</li>
				<li class="active">
					<a href="namespace-ManaPHP.Mvc.Model.html">
						Model<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.Model.Manager.html">
						Manager					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Model.Metadata.html">
						Metadata<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.Model.Metadata.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.Model.Metadata.Adapter.Apc.html">
						Apc					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Model.QueryBuilder.html">
						QueryBuilder					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Router.html">
						Router<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.Router.RewriteChecker.html">
						RewriteChecker					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Router.Route.html">
						Route					</a>

						</li>
							</ul></li>
				<li>
					<a href="namespace-ManaPHP.Mvc.Url.html">
						Url					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Mvc.User.html">
						User					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Mvc.View.html">
						View<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.View.Flash.html">
						Flash<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Mvc.View.Flash.Adapter.html">
						Adapter					</a>

						</li>
							</ul></li></ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Paginator.html">
						Paginator					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Renderer.html">
						Renderer<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Renderer.Engine.html">
						Engine<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Renderer.Engine.Php.html">
						Php					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Renderer.Engine.Sword.html">
						Sword					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Security.html">
						Security<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Security.Captcha.html">
						Captcha					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Security.Crypt.html">
						Crypt					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Security.CsrfToken.html">
						CsrfToken					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Security.RateLimiter.html">
						RateLimiter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Security.RateLimiter.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Security.RateLimiter.Adapter.Db.html">
						Db					</a>

						</li>
							</ul></li></ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Serializer.html">
						Serializer<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Serializer.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Serializer.Adapter.Json.html">
						Json					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Serializer.Adapter.JsonPhp.html">
						JsonPhp					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Serializer.Adapter.Php.html">
						Php					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Serializer.Adapter.StringType.html">
						StringType					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Store.html">
						Store<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Store.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Store.Adapter.Db.html">
						Db					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Store.Adapter.File.html">
						File					</a>

						</li>
							</ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Task.html">
						Task<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Task.Metadata.html">
						Metadata<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Task.Metadata.Adapter.html">
						Adapter<span></span>
					</a>

						<ul>
				<li>
					<a href="namespace-ManaPHP.Task.Metadata.Adapter.Apc.html">
						Apc					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Task.Metadata.Adapter.Db.html">
						Db					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Task.Metadata.Adapter.Redis.html">
						Redis					</a>

						</li>
							</ul></li></ul></li></ul></li>
				<li>
					<a href="namespace-ManaPHP.Text.html">
						Text					</a>

						</li>
				<li>
					<a href="namespace-ManaPHP.Utility.html">
						Utility					</a>

						</li>
							</ul></li>
			</ul>
		</div>

		<hr>


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-ManaPHP.Mvc.Model.Manager.html">Manager</a></li>
				<li><a href="class-ManaPHP.Mvc.Model.Metadata.html">Metadata</a></li>
				<li class="active"><a href="class-ManaPHP.Mvc.Model.QueryBuilder.html">QueryBuilder</a></li>
			</ul>

			<h3>Interfaces</h3>
			<ul>
				<li><a href="class-ManaPHP.Mvc.Model.ManagerInterface.html">ManagerInterface</a></li>
				<li><a href="class-ManaPHP.Mvc.Model.MetadataInterface.html">MetadataInterface</a></li>
				<li><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html">QueryBuilderInterface</a></li>
			</ul>


			<h3>Exceptions</h3>
			<ul>
				<li><a href="class-ManaPHP.Mvc.Model.Exception.html">Exception</a></li>
			</ul>


		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="">
		<input type="hidden" name="ie" value="UTF-8">
		<input type="text" name="q" class="text" placeholder="Search">
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="namespace-ManaPHP.Mvc.Model.html" title="Summary of ManaPHP\Mvc\Model"><span>Namespace</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class QueryBuilder</h1>


	<div class="description">
	<p>Class ManaPHP\Mvc\Model\QueryBuilder</p>
	</div>

	<dl class="tree">
		<dd style="padding-left:0px">
			<a href="class-ManaPHP.Component.html"><span>ManaPHP\Component</span></a>
			
			 implements 
				<a href="class-ManaPHP.ComponentInterface.html"><span>ManaPHP\ComponentInterface</span></a>
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by">
<b><span>ManaPHP\Mvc\Model\QueryBuilder</span></b>			
			 implements 
				<a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html"><span>ManaPHP\Mvc\Model\QueryBuilderInterface</span></a>
			
			
		</dd>
	</dl>








	<div class="info">
		
		
		<b>Namespace:</b> <a href="namespace-ManaPHP.html">ManaPHP</a>\<a href="namespace-ManaPHP.Mvc.html">Mvc</a>\<a href="namespace-ManaPHP.Mvc.Model.html">Model</a><br>
		<b>Package:</b> queryBuilder<br>

			<b>Located at</b> <a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#9-1149" title="Go to source code">Mvc/Model/QueryBuilder.php</a>
		<br>
	</div>



	<table class="summary methods" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="__construct" id="___construct">

		<td class="attributes"><code>
			 public 

			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___construct">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#96-179" title="Go to source code">__construct</a>( <span>array|string <var>$params</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>\ManaPHP\Mvc\Model\Query\Builder constructor</p>
		</div>

		<div class="description detailed hidden">
			<p>\ManaPHP\Mvc\Model\Query\Builder constructor</p>

<pre><span class="php-var">$params</span> = <span class="php-keyword1">array</span>(
   <span class="php-quote">'models'</span>     =&gt; <span class="php-keyword1">array</span>(<span class="php-quote">'Users'</span>),
   <span class="php-quote">'columns'</span>    =&gt; <span class="php-keyword1">array</span>(<span class="php-quote">'id'</span>, <span class="php-quote">'name'</span>, <span class="php-quote">'status'</span>),
   <span class="php-quote">'conditions'</span> =&gt; <span class="php-keyword1">array</span>(
       <span class="php-keyword1">array</span>(
           <span class="php-quote">&quot;created &gt; :min: AND created &lt; :max:&quot;</span>,
           <span class="php-keyword1">array</span>(<span class="php-quote">&quot;min&quot;</span> =&gt; <span class="php-quote">'2013-01-01'</span>,   <span class="php-quote">'max'</span> =&gt; <span class="php-quote">'2015-01-01'</span>),
           <span class="php-keyword1">array</span>(<span class="php-quote">&quot;min&quot;</span> =&gt; PDO::PARAM_STR, <span class="php-quote">'max'</span> =&gt; PDO::PARAM_STR),
       ),
   ),
   <span class="php-comment">// or 'conditions' =&gt; &quot;created &gt; '2013-01-01' AND created &lt; '2015-01-01'&quot;,</span>
   <span class="php-quote">'group'</span>      =&gt; <span class="php-keyword1">array</span>(<span class="php-quote">'id'</span>, <span class="php-quote">'name'</span>),
   <span class="php-quote">'having'</span>     =&gt; <span class="php-quote">&quot;name = 'lily'&quot;</span>,
   <span class="php-quote">'order'</span>      =&gt; <span class="php-keyword1">array</span>(<span class="php-quote">'name'</span>, <span class="php-quote">'id'</span>),
   <span class="php-quote">'limit'</span>      =&gt; <span class="php-num">20</span>,
   <span class="php-quote">'offset'</span>     =&gt; <span class="php-num">20</span>,
   <span class="php-comment">// or 'limit' =&gt; array(20, 20),</span>
);
<span class="php-var">$queryBuilder</span> = <span class="php-keyword1">new</span> \ManaPHP\Mvc\Model\Query\Builder(<span class="php-var">$params</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$params</var></dt>
					<dd></dd>
				</dl></div>





		</div>
		</div></td>
	</tr>
	<tr data-order="distinct" id="_distinct">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_distinct">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#181-193" title="Go to source code">distinct</a>( <span>boolean <var>$distinct</var></span> )</code>

		<div class="description short">
			<p>Sets SELECT DISTINCT / SELECT ALL flag</p>
		</div>

		<div class="description detailed hidden">
			<p>Sets SELECT DISTINCT / SELECT ALL flag</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$distinct</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_distinct">ManaPHP\Mvc\Model\QueryBuilderInterface::distinct()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="columns" id="_columns">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_columns">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#195-211" title="Go to source code">columns</a>( <span>string <var>$columns</var></span> )</code>

		<div class="description short">
			<p>Sets the columns to be queried</p>
		</div>

		<div class="description detailed hidden">
			<p>Sets the columns to be queried</p>

<pre><span class="php-var">$builder</span>-&gt;columns(<span class="php-keyword1">array</span>(<span class="php-quote">'id'</span>, <span class="php-quote">'name'</span>));</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$columns</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_columns">ManaPHP\Mvc\Model\QueryBuilderInterface::columns()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="from" id="_from">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_from">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#213-230" title="Go to source code">from</a>( <span>string|array <var>$models</var></span> )</code>

		<div class="description short">
			<p>Sets the models who makes part of the query</p>
		</div>

		<div class="description detailed hidden">
			<p>Sets the models who makes part of the query</p>

<pre><span class="php-var">$builder</span>-&gt;from(<span class="php-quote">'Robots'</span>);
   <span class="php-var">$builder</span>-&gt;from(<span class="php-keyword1">array</span>(<span class="php-quote">'Robots'</span>, <span class="php-quote">'RobotsParts'</span>));</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$models</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_from">ManaPHP\Mvc\Model\QueryBuilderInterface::from()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="addFrom" id="_addFrom">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_addFrom">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#232-253" title="Go to source code">addFrom</a>( <span>string|<code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html">ManaPHP\Mvc\Model\QueryBuilderInterface</a></code> <var>$model</var></span>, <span>string <var>$alias</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>Add a model to take part of the query</p>
		</div>

		<div class="description detailed hidden">
			<p>Add a model to take part of the query</p>

<pre><span class="php-var">$builder</span>-&gt;addFrom(<span class="php-quote">'Robots'</span>, <span class="php-quote">'r'</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$model</var></dt>
					<dd></dd>
					<dt><var>$alias</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_addFrom">ManaPHP\Mvc\Model\QueryBuilderInterface::addFrom()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="join" id="_join">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_join">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#255-277" title="Go to source code">join</a>( <span>string|<code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html">ManaPHP\Mvc\Model\QueryBuilderInterface</a></code> <var>$model</var></span>, <span>string <var>$conditions</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$alias</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$type</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>Adds a join to the query</p>
		</div>

		<div class="description detailed hidden">
			<p>Adds a join to the query</p>

<pre><span class="php-var">$builder</span>-&gt;<span class="php-keyword2">join</span>(<span class="php-quote">'Robots'</span>);
   <span class="php-var">$builder</span>-&gt;<span class="php-keyword2">join</span>(<span class="php-quote">'Robots'</span>, <span class="php-quote">'r.id = RobotsParts.robots_id'</span>);
   <span class="php-var">$builder</span>-&gt;<span class="php-keyword2">join</span>(<span class="php-quote">'Robots'</span>, <span class="php-quote">'r.id = RobotsParts.robots_id'</span>, <span class="php-quote">'r'</span>);
   <span class="php-var">$builder</span>-&gt;<span class="php-keyword2">join</span>(<span class="php-quote">'Robots'</span>, <span class="php-quote">'r.id = RobotsParts.robots_id'</span>, <span class="php-quote">'r'</span>, <span class="php-quote">'LEFT'</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$model</var></dt>
					<dd></dd>
					<dt><var>$conditions</var></dt>
					<dd></dd>
					<dt><var>$alias</var></dt>
					<dd></dd>
					<dt><var>$type</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_join">ManaPHP\Mvc\Model\QueryBuilderInterface::join()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="innerJoin" id="_innerJoin">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_innerJoin">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#279-299" title="Go to source code">innerJoin</a>( <span>string|<code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html">ManaPHP\Mvc\Model\QueryBuilderInterface</a></code> <var>$model</var></span>, <span>string <var>$conditions</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$alias</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>Adds a INNER join to the query</p>
		</div>

		<div class="description detailed hidden">
			<p>Adds a INNER join to the query</p>

<pre><span class="php-var">$builder</span>-&gt;innerJoin(<span class="php-quote">'Robots'</span>);
   <span class="php-var">$builder</span>-&gt;innerJoin(<span class="php-quote">'Robots'</span>, <span class="php-quote">'r.id = RobotsParts.robots_id'</span>);
   <span class="php-var">$builder</span>-&gt;innerJoin(<span class="php-quote">'Robots'</span>, <span class="php-quote">'r.id = RobotsParts.robots_id'</span>, <span class="php-quote">'r'</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$model</var></dt>
					<dd></dd>
					<dt><var>$conditions</var></dt>
					<dd></dd>
					<dt><var>$alias</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_innerJoin">ManaPHP\Mvc\Model\QueryBuilderInterface::innerJoin()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="leftJoin" id="_leftJoin">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_leftJoin">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#301-319" title="Go to source code">leftJoin</a>( <span>string|<code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html">ManaPHP\Mvc\Model\QueryBuilderInterface</a></code> <var>$model</var></span>, <span>string <var>$conditions</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$alias</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>Adds a LEFT join to the query</p>
		</div>

		<div class="description detailed hidden">
			<p>Adds a LEFT join to the query</p>

<pre><span class="php-var">$builder</span>-&gt;leftJoin(<span class="php-quote">'Robots'</span>, <span class="php-quote">'r.id = RobotsParts.robots_id'</span>, <span class="php-quote">'r'</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$model</var></dt>
					<dd></dd>
					<dt><var>$conditions</var></dt>
					<dd></dd>
					<dt><var>$alias</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_leftJoin">ManaPHP\Mvc\Model\QueryBuilderInterface::leftJoin()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="rightJoin" id="_rightJoin">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_rightJoin">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#321-339" title="Go to source code">rightJoin</a>( <span>string|<code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html">ManaPHP\Mvc\Model\QueryBuilderInterface</a></code> <var>$model</var></span>, <span>string <var>$conditions</var> = <span class="php-keyword1">null</span></span>, <span>string <var>$alias</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>Adds a RIGHT join to the query</p>
		</div>

		<div class="description detailed hidden">
			<p>Adds a RIGHT join to the query</p>

<pre><span class="php-var">$builder</span>-&gt;rightJoin(<span class="php-quote">'Robots'</span>, <span class="php-quote">'r.id = RobotsParts.robots_id'</span>, <span class="php-quote">'r'</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$model</var></dt>
					<dd></dd>
					<dt><var>$conditions</var></dt>
					<dd></dd>
					<dt><var>$alias</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_rightJoin">ManaPHP\Mvc\Model\QueryBuilderInterface::rightJoin()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="where" id="_where">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_where">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#341-357" title="Go to source code">where</a>( <span>string <var>$conditions</var></span>, <span>integer|float|string|array <var>$bind</var> = []</span> )</code>

		<div class="description short">
			<p>Sets the query conditions</p>
		</div>

		<div class="description detailed hidden">
			<p>Sets the query conditions</p>

<pre><span class="php-var">$builder</span>-&gt;where(<span class="php-quote">'name = &quot;Peter&quot;'</span>);
   <span class="php-var">$builder</span>-&gt;where(<span class="php-quote">'name = :name: AND id &gt; :id:'</span>, <span class="php-keyword1">array</span>(<span class="php-quote">'name'</span> =&gt; <span class="php-quote">'Peter'</span>, <span class="php-quote">'id'</span> =&gt; <span class="php-num">100</span>));</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$conditions</var></dt>
					<dd></dd>
					<dt><var>$bind</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_where">ManaPHP\Mvc\Model\QueryBuilderInterface::where()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="andWhere" id="_andWhere">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_andWhere">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#359-397" title="Go to source code">andWhere</a>( <span>string <var>$conditions</var></span>, <span>integer|float|string|array <var>$bind</var> = []</span> )</code>

		<div class="description short">
			<p>Appends a condition to the current conditions using a AND operator</p>
		</div>

		<div class="description detailed hidden">
			<p>Appends a condition to the current conditions using a AND operator</p>

<pre><span class="php-var">$builder</span>-&gt;andWhere(<span class="php-quote">'name = &quot;Peter&quot;'</span>);
   <span class="php-var">$builder</span>-&gt;andWhere(<span class="php-quote">'name = :name: AND id &gt; :id:'</span>, <span class="php-keyword1">array</span>(<span class="php-quote">'name'</span> =&gt; <span class="php-quote">'Peter'</span>, <span class="php-quote">'id'</span> =&gt; <span class="php-num">100</span>));</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$conditions</var></dt>
					<dd></dd>
					<dt><var>$bind</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_andWhere">ManaPHP\Mvc\Model\QueryBuilderInterface::andWhere()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="betweenWhere" id="_betweenWhere">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_betweenWhere">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#399-423" title="Go to source code">betweenWhere</a>( <span>string <var>$expr</var></span>, <span>integer|float <var>$min</var></span>, <span>integer|float <var>$max</var></span> )</code>

		<div class="description short">
			<p>Appends a BETWEEN condition to the current conditions</p>
		</div>

		<div class="description detailed hidden">
			<p>Appends a BETWEEN condition to the current conditions</p>

<pre><span class="php-var">$builder</span>-&gt;betweenWhere(<span class="php-quote">'price'</span>, <span class="php-num">100.25</span>, <span class="php-num">200.50</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$expr</var></dt>
					<dd></dd>
					<dt><var>$min</var></dt>
					<dd></dd>
					<dt><var>$max</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_betweenWhere">ManaPHP\Mvc\Model\QueryBuilderInterface::betweenWhere()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="notBetweenWhere" id="_notBetweenWhere">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_notBetweenWhere">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#425-449" title="Go to source code">notBetweenWhere</a>( <span>string <var>$expr</var></span>, <span>integer|float <var>$min</var></span>, <span>integer|float <var>$max</var></span> )</code>

		<div class="description short">
			<p>Appends a NOT BETWEEN condition to the current conditions</p>
		</div>

		<div class="description detailed hidden">
			<p>Appends a NOT BETWEEN condition to the current conditions</p>

<pre><span class="php-var">$builder</span>-&gt;notBetweenWhere(<span class="php-quote">'price'</span>, <span class="php-num">100.25</span>, <span class="php-num">200.50</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$expr</var></dt>
					<dd></dd>
					<dt><var>$min</var></dt>
					<dd></dd>
					<dt><var>$max</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_notBetweenWhere">ManaPHP\Mvc\Model\QueryBuilderInterface::notBetweenWhere()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="inWhere" id="_inWhere">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_inWhere">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#451-491" title="Go to source code">inWhere</a>( <span>string <var>$expr</var></span>, <span>array|<code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html">ManaPHP\Mvc\Model\QueryBuilderInterface</a></code> <var>$values</var></span> )</code>

		<div class="description short">
			<p>Appends an IN condition to the current conditions</p>
		</div>

		<div class="description detailed hidden">
			<p>Appends an IN condition to the current conditions</p>

<pre><span class="php-var">$builder</span>-&gt;inWhere(<span class="php-quote">'id'</span>, [<span class="php-num">1</span>, <span class="php-num">2</span>, <span class="php-num">3</span>]);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$expr</var></dt>
					<dd></dd>
					<dt><var>$values</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_inWhere">ManaPHP\Mvc\Model\QueryBuilderInterface::inWhere()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="notInWhere" id="_notInWhere">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_notInWhere">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#493-530" title="Go to source code">notInWhere</a>( <span>string <var>$expr</var></span>, <span>array|<code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html">ManaPHP\Mvc\Model\QueryBuilderInterface</a></code> <var>$values</var></span> )</code>

		<div class="description short">
			<p>Appends a NOT IN condition to the current conditions</p>
		</div>

		<div class="description detailed hidden">
			<p>Appends a NOT IN condition to the current conditions</p>

<pre><span class="php-var">$builder</span>-&gt;notInWhere(<span class="php-quote">'id'</span>, [<span class="php-num">1</span>, <span class="php-num">2</span>, <span class="php-num">3</span>]);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$expr</var></dt>
					<dd></dd>
					<dt><var>$values</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_notInWhere">ManaPHP\Mvc\Model\QueryBuilderInterface::notInWhere()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="orderBy" id="_orderBy">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_orderBy">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#532-572" title="Go to source code">orderBy</a>( <span>string <var>$orderBy</var></span> )</code>

		<div class="description short">
			<p>Sets a ORDER BY condition clause</p>
		</div>

		<div class="description detailed hidden">
			<p>Sets a ORDER BY condition clause</p>

<pre><span class="php-var">$builder</span>-&gt;orderBy(<span class="php-quote">'Robots.name'</span>);
   <span class="php-var">$builder</span>-&gt;orderBy(<span class="php-keyword1">array</span>(<span class="php-quote">'1'</span>, <span class="php-quote">'Robots.name'</span>));</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$orderBy</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_orderBy">ManaPHP\Mvc\Model\QueryBuilderInterface::orderBy()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="having" id="_having">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_having">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#574-592" title="Go to source code">having</a>( <span>string <var>$having</var></span>, <span>array <var>$bind</var> = []</span> )</code>

		<div class="description short">
			<p>Sets a HAVING condition clause. You need to escape SQL reserved words using [ and ] delimiters</p>
		</div>

		<div class="description detailed hidden">
			<p>Sets a HAVING condition clause. You need to escape SQL reserved words using [ and ] delimiters</p>

<pre><span class="php-var">$builder</span>-&gt;having(<span class="php-quote">'SUM(Robots.price) &gt; 0'</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$having</var></dt>
					<dd></dd>
					<dt><var>$bind</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_having">ManaPHP\Mvc\Model\QueryBuilderInterface::having()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="forUpdate" id="_forUpdate">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_forUpdate">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#594-610" title="Go to source code">forUpdate</a>( <span>boolean <var>$forUpdate</var> = <span class="php-keyword1">true</span></span> )</code>

		<div class="description short">
			<p>Sets a FOR UPDATE clause</p>
		</div>

		<div class="description detailed hidden">
			<p>Sets a FOR UPDATE clause</p>

<pre><span class="php-var">$builder</span>-&gt;forUpdate(<span class="php-keyword1">true</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$forUpdate</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_forUpdate">ManaPHP\Mvc\Model\QueryBuilderInterface::forUpdate()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="limit" id="_limit">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_limit">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#612-631" title="Go to source code">limit</a>( <span>integer <var>$limit</var></span>, <span>integer <var>$offset</var> = <span class="php-num">0</span></span> )</code>

		<div class="description short">
			<p>Sets a LIMIT clause, optionally a offset clause</p>
		</div>

		<div class="description detailed hidden">
			<p>Sets a LIMIT clause, optionally a offset clause</p>

<pre><span class="php-var">$builder</span>-&gt;limit(<span class="php-num">100</span>);
   <span class="php-var">$builder</span>-&gt;limit(<span class="php-num">100</span>, <span class="php-num">20</span>);</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$limit</var></dt>
					<dd></dd>
					<dt><var>$offset</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_limit">ManaPHP\Mvc\Model\QueryBuilderInterface::limit()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="page" id="_page">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_page">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#633-647" title="Go to source code">page</a>( <span>integer <var>$size</var></span>, <span>integer <var>$current</var> = <span class="php-num">1</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$size</var></dt>
					<dd></dd>
					<dt><var>$current</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_page">ManaPHP\Mvc\Model\QueryBuilderInterface::page()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="groupBy" id="_groupBy">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_groupBy">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#649-680" title="Go to source code">groupBy</a>( <span>string <var>$groupBy</var></span> )</code>

		<div class="description short">
			<p>Sets a GROUP BY clause</p>
		</div>

		<div class="description detailed hidden">
			<p>Sets a GROUP BY clause</p>

<pre><span class="php-var">$builder</span>-&gt;groupBy(<span class="php-keyword1">array</span>(<span class="php-quote">'Robots.name'</span>));</pre>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$groupBy</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_groupBy">ManaPHP\Mvc\Model\QueryBuilderInterface::groupBy()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="_getUnionSql" id="__getUnionSql">

		<td class="attributes"><code>
			 protected 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__getUnionSql">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#682-724" title="Go to source code">_getUnionSql</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			



				<h4>Returns</h4>
				<div class="list">
					string
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Mvc.Model.QueryBuilder.Exception.html">ManaPHP\Mvc\Model\QueryBuilder\Exception</a></code>
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="getSql" id="_getSql">

		<td class="attributes"><code>
			 public 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getSql">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#726-737" title="Go to source code">getSql</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			



				<h4>Returns</h4>
				<div class="list">
					string
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Mvc.Model.QueryBuilder.Exception.html">ManaPHP\Mvc\Model\QueryBuilder\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_getSql">ManaPHP\Mvc\Model\QueryBuilderInterface::getSql()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="_buildSql" id="__buildSql">

		<td class="attributes"><code>
			 protected 

			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__buildSql">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#739-901" title="Go to source code">_buildSql</a>( )</code>

		<div class="description short">
			<p>Returns a SQL statement built based on the builder parameters</p>
		</div>

		<div class="description detailed hidden">
			<p>Returns a SQL statement built based on the builder parameters</p>



				<h4>Returns</h4>
				<div class="list">
					string
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Mvc.Model.QueryBuilder.Exception.html">ManaPHP\Mvc\Model\QueryBuilder\Exception</a></code>
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="getBind" id="_getBind">

		<td class="attributes"><code>
			 public 

			array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getBind">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#903-906" title="Go to source code">getBind</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			



				<h4>Returns</h4>
				<div class="list">
					array
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_getBind">ManaPHP\Mvc\Model\QueryBuilderInterface::getBind()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="setBind" id="_setBind">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setBind">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#908-921" title="Go to source code">setBind</a>( <span>array <var>$bind</var></span>, <span>boolean <var>$merge</var> = <span class="php-keyword1">true</span></span> )</code>

		<div class="description short">
			<p>Set default bind parameters</p>
		</div>

		<div class="description detailed hidden">
			<p>Set default bind parameters</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$bind</var></dt>
					<dd></dd>
					<dt><var>$merge</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_setBind">ManaPHP\Mvc\Model\QueryBuilderInterface::setBind()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="getModels" id="_getModels">

		<td class="attributes"><code>
			 public 

			array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getModels">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#923-929" title="Go to source code">getModels</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			



				<h4>Returns</h4>
				<div class="list">
					array
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="_getCacheOptions" id="__getCacheOptions">

		<td class="attributes"><code>
			 protected 

			array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__getCacheOptions">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#931-959" title="Go to source code">_getCacheOptions</a>( <span>integer|array <var>$cacheOptions</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$cacheOptions</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					array
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Mvc.Model.QueryBuilder.Exception.html">ManaPHP\Mvc\Model\QueryBuilder\Exception</a></code>
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="_buildCacheData" id="__buildCacheData">

		<td class="attributes"><code>
			 protected 

			array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__buildCacheData">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#961-974" title="Go to source code">_buildCacheData</a>( <span>array <var>$rows</var></span>, <span>integer <var>$total</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$rows</var></dt>
					<dd></dd>
					<dt><var>$total</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					array
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="execute" id="_execute">

		<td class="attributes"><code>
			 public 

			array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_execute">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#976-1013" title="Go to source code">execute</a>( <span>integer|array <var>$cacheOptions</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$cacheOptions</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					array
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Mvc.Model.QueryBuilder.Exception.html">ManaPHP\Mvc\Model\QueryBuilder\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_execute">ManaPHP\Mvc\Model\QueryBuilderInterface::execute()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="_getTotalRows" id="__getTotalRows">

		<td class="attributes"><code>
			 protected 

			integer
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__getTotalRows">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#1015-1050" title="Go to source code">_getTotalRows</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			



				<h4>Returns</h4>
				<div class="list">
					integer
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Mvc.Model.QueryBuilder.Exception.html">ManaPHP\Mvc\Model\QueryBuilder\Exception</a></code>
				</div>



		</div>
		</div></td>
	</tr>
	<tr data-order="paginate" id="_paginate">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_paginate">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#1052-1068" title="Go to source code">paginate</a>( <span>integer <var>$size</var></span>, <span>integer <var>$page</var></span>, <span>integer|array <var>$cacheOptions</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$size</var></dt>
					<dd></dd>
					<dt><var>$page</var></dt>
					<dd></dd>
					<dt><var>$cacheOptions</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Paginator.Exception.html">ManaPHP\Paginator\Exception</a></code><br>
					<code><a href="class-ManaPHP.Mvc.Model.QueryBuilder.Exception.html">ManaPHP\Mvc\Model\QueryBuilder\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_paginate">ManaPHP\Mvc\Model\QueryBuilderInterface::paginate()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="executeEx" id="_executeEx">

		<td class="attributes"><code>
			 public 

			array
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_executeEx">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#1070-1124" title="Go to source code">executeEx</a>( <span>integer|string <var>&amp; $totalRows</var></span>, <span>integer|array <var>$cacheOptions</var> = <span class="php-keyword1">null</span></span> )</code>

		<div class="description short">
			<p>build the query and execute it.</p>
		</div>

		<div class="description detailed hidden">
			<p>build the query and execute it.</p>


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$totalRows</var></dt>
					<dd></dd>
					<dt><var>$cacheOptions</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					array
				</div>

				<h4>Throws</h4>
				<div class="list">
					<code><a href="class-ManaPHP.Mvc.Model.QueryBuilder.Exception.html">ManaPHP\Mvc\Model\QueryBuilder\Exception</a></code>
				</div>



				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_executeEx">ManaPHP\Mvc\Model\QueryBuilderInterface::executeEx()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="unionAll" id="_unionAll">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_unionAll">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#1126-1136" title="Go to source code">unionAll</a>( <span><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html">ManaPHP\Mvc\Model\QueryBuilderInterface</a>[]</code> <var>$builders</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$builders</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_unionAll">ManaPHP\Mvc\Model\QueryBuilderInterface::unionAll()</a></code></div>
		</div>
		</div></td>
	</tr>
	<tr data-order="unionDistinct" id="_unionDistinct">

		<td class="attributes"><code>
			 public 

			static
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_unionDistinct">#</a>
		<code><a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#1138-1148" title="Go to source code">unionDistinct</a>( <span><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html">ManaPHP\Mvc\Model\QueryBuilderInterface</a>[]</code> <var>$builders</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			


				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$builders</var></dt>
					<dd></dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					static
				</div>




				<h4>Implementation of</h4>
				<div class="list"><code><a href="class-ManaPHP.Mvc.Model.QueryBuilderInterface.html#_unionDistinct">ManaPHP\Mvc\Model\QueryBuilderInterface::unionDistinct()</a></code></div>
		</div>
		</div></td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Methods inherited from <a href="class-ManaPHP.Component.html#methods">ManaPHP\Component</a></caption>
	<tr>
		<td><code>
			<a href="class-ManaPHP.Component.html#___debugInfo">__debugInfo()</a>, 
			<a href="class-ManaPHP.Component.html#___get">__get()</a>, 
			<a href="class-ManaPHP.Component.html#___isset">__isset()</a>, 
			<a href="class-ManaPHP.Component.html#___set">__set()</a>, 
			<a href="class-ManaPHP.Component.html#_attachEvent">attachEvent()</a>, 
			<a href="class-ManaPHP.Component.html#_dump">dump()</a>, 
			<a href="class-ManaPHP.Component.html#_fireEvent">fireEvent()</a>, 
			<a href="class-ManaPHP.Component.html#_getDependencyInjector">getDependencyInjector()</a>, 
			<a href="class-ManaPHP.Component.html#_setDependencyInjector">setDependencyInjector()</a>
		</code></td>
	</tr>
	</table>











	<table class="summary properties" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="_columns" id="$_columns">
		<td class="attributes"><code>
			protected  
			string
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#21-24" title="Go to source code"><var>$_columns</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_columns" class="anchor">#</a>
				<code></code>
			</div>
		</td>
	</tr>
	<tr data-order="_models" id="$_models">
		<td class="attributes"><code>
			protected  
			array
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#26-29" title="Go to source code"><var>$_models</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_models" class="anchor">#</a>
				<code>[]</code>
			</div>
		</td>
	</tr>
	<tr data-order="_joins" id="$_joins">
		<td class="attributes"><code>
			protected  
			array
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#31-34" title="Go to source code"><var>$_joins</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_joins" class="anchor">#</a>
				<code>[]</code>
			</div>
		</td>
	</tr>
	<tr data-order="_conditions" id="$_conditions">
		<td class="attributes"><code>
			protected  
			array
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#36-39" title="Go to source code"><var>$_conditions</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_conditions" class="anchor">#</a>
				<code>[]</code>
			</div>
		</td>
	</tr>
	<tr data-order="_group" id="$_group">
		<td class="attributes"><code>
			protected  
			string
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#41-44" title="Go to source code"><var>$_group</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_group" class="anchor">#</a>
				<code></code>
			</div>
		</td>
	</tr>
	<tr data-order="_having" id="$_having">
		<td class="attributes"><code>
			protected  
			array
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#46-49" title="Go to source code"><var>$_having</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_having" class="anchor">#</a>
				<code></code>
			</div>
		</td>
	</tr>
	<tr data-order="_order" id="$_order">
		<td class="attributes"><code>
			protected  
			string
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#51-54" title="Go to source code"><var>$_order</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_order" class="anchor">#</a>
				<code></code>
			</div>
		</td>
	</tr>
	<tr data-order="_limit" id="$_limit">
		<td class="attributes"><code>
			protected  
			integer
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#56-59" title="Go to source code"><var>$_limit</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_limit" class="anchor">#</a>
				<code><span class="php-num">0</span></code>
			</div>
		</td>
	</tr>
	<tr data-order="_offset" id="$_offset">
		<td class="attributes"><code>
			protected  
			integer
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#61-64" title="Go to source code"><var>$_offset</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_offset" class="anchor">#</a>
				<code><span class="php-num">0</span></code>
			</div>
		</td>
	</tr>
	<tr data-order="_forUpdate" id="$_forUpdate">
		<td class="attributes"><code>
			protected  
			boolean
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#66-69" title="Go to source code"><var>$_forUpdate</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_forUpdate" class="anchor">#</a>
				<code></code>
			</div>
		</td>
	</tr>
	<tr data-order="_bind" id="$_bind">
		<td class="attributes"><code>
			protected  
			array
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#71-74" title="Go to source code"><var>$_bind</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_bind" class="anchor">#</a>
				<code>[]</code>
			</div>
		</td>
	</tr>
	<tr data-order="_distinct" id="$_distinct">
		<td class="attributes"><code>
			protected  
			boolean
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#76-79" title="Go to source code"><var>$_distinct</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_distinct" class="anchor">#</a>
				<code></code>
			</div>
		</td>
	</tr>
	<tr data-order="_hiddenParamNumber" id="$_hiddenParamNumber">
		<td class="attributes"><code>
			protected static 
			integer
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#81-84" title="Go to source code"><var>$_hiddenParamNumber</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_hiddenParamNumber" class="anchor">#</a>
				<code><span class="php-num">0</span></code>
			</div>
		</td>
	</tr>
	<tr data-order="_union" id="$_union">
		<td class="attributes"><code>
			protected  
			array
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#86-89" title="Go to source code"><var>$_union</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_union" class="anchor">#</a>
				<code>[]</code>
			</div>
		</td>
	</tr>
	<tr data-order="_sql" id="$_sql">
		<td class="attributes"><code>
			protected  
			string
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#91-94" title="Go to source code"><var>$_sql</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
		<td class="value">
			<div>
				<a href="#$_sql" class="anchor">#</a>
				<code></code>
			</div>
		</td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Properties inherited from <a href="class-ManaPHP.Component.html#properties">ManaPHP\Component</a></caption>
	<tr>
		<td><code>
			<a href="class-ManaPHP.Component.html#$_dependencyInjector"><var>$_dependencyInjector</var></a>
		</code></td>
	</tr>
	</table>


	<table class="summary properties" id="magicProperties">
	<caption>Magic properties summary</caption>
	<tr data-order="modelsCache" id="m$modelsCache">
		<td class="attributes"><code>
			public  
			<code><a href="class-ManaPHP.Cache.AdapterInterface.html">ManaPHP\Cache\AdapterInterface</a></code>
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#14" title="Go to source code"><var>$modelsCache</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
	</tr>
	<tr data-order="paginator" id="m$paginator">
		<td class="attributes"><code>
			public  
			<code><a href="class-ManaPHP.Paginator.html">ManaPHP\Paginator</a></code>
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#15" title="Go to source code"><var>$paginator</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
	</tr>
	<tr data-order="modelsManager" id="m$modelsManager">
		<td class="attributes"><code>
			public  
			<code><a href="class-ManaPHP.Mvc.Model.ManagerInterface.html">ManaPHP\Mvc\Model\ManagerInterface</a></code>
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#16" title="Go to source code"><var>$modelsManager</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
	</tr>
	<tr data-order="dispatcher" id="m$dispatcher">
		<td class="attributes"><code>
			public  
			<code><a href="class-ManaPHP.Mvc.DispatcherInterface.html">ManaPHP\Mvc\DispatcherInterface</a></code>
		</code></td>

		<td class="name">
				<a href="source-class-ManaPHP.Mvc.Model.QueryBuilder.html#17" title="Go to source code"><var>$dispatcher</var></a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</td>
	</tr>
	</table>

	<table class="summary inherited">
	<caption>Magic properties inherited from <a href="class-ManaPHP.Component.html#properties">ManaPHP\Component</a></caption>
	<tr>
		<td><code>
			<a href="class-ManaPHP.Component.html#m$alias"><var>$alias</var></a>, 
			<a href="class-ManaPHP.Component.html#m$configure"><var>$configure</var></a>, 
			<a href="class-ManaPHP.Component.html#m$eventsManager"><var>$eventsManager</var></a>, 
			<a href="class-ManaPHP.Component.html#m$filesystem"><var>$filesystem</var></a>, 
			<a href="class-ManaPHP.Component.html#m$logger"><var>$logger</var></a>
		</code></td>
	</tr>
	</table>


</div>

	<div id="footer">
		 API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</div>
<script src="resources/combined.js"></script>
<script src="elementlist.js"></script>
</body>
</html>
